<html>
<head><meta charset="utf-8"><title>Build with different standard crates? · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Build.20with.20different.20standard.20crates.3F.html">Build with different standard crates?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="200473441"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Build%20with%20different%20standard%20crates%3F/near/200473441" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Andrew Gaspar <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Build.20with.20different.20standard.20crates.3F.html#200473441">(Jun 10 2020 at 20:40)</a>:</h4>
<p>My end goal is to build an executable with a dynamic link to a <code>libstd</code> built without the <code>panic-unwind</code> feature.</p>
<p>I built libstd using <code>RUSTC_BOOTSTRAP=1 cargo build --release -p std</code>. However, I'm not sure how to actually link using this libstd. I tried using <code>-L</code>, but that seems to just result in multiple copies of each standard crate being found.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>